<include file="Admin/Public/Header" />
<script src="__ADMIN__/js/Admin/common.js" type="text/javascript"></script>
<table width="100%" height="31px" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
    <tr>
        <td height="31"><div class="titlebt">幻灯片列表</div></td>
    </tr>
</table>

<div class="main">
    <div class="operate">
        <div class="left">
            <input type="button" onclick="window.open('{:U('Admin/Config/Pic', 'do=add')}','main')" target="main" class="btn_blue" value="添加">
        </div>
        <div class="left_pad">
        </div>
    </div>
    <div class="list">
        <form action="{:U('Admin/Config/Pic', 'do=sort')}" method="post" id="form_do" name="form_do">
            <table width="100%">
                <tr>
                    <th>编号</th>
                    <th>标题</th>
                    <th>链接地址</th>
                    <th>排序</th>
                    <th>操作</th>
                </tr>

                <empty name="vlist">
                    <tr><td colspan="9">本区域暂无数据显示...</td></tr>
                    <else />
                    <volist name='vlist' id='v'>
                        <tr>
                            <td>{$v.ad_id}</td>
                            <td class="aleft">{$v.ad_title}</td>
                            <td>{$v.ad_url}</td>
                            <td>{$v.ad_sort}</td>
                            <td>
                                <a href="{:U('Admin/Config/Pic', 'do=edit&id='.$v['ad_id'])}" class="edit-one">修改</a>
                                <a href="{:U('Admin/Config/Pic', 'do=del&id='.$v['ad_id'])}" class="delete-one">删除</a>
                            </td>
                        </tr>
                    </volist>
                </empty>

            </table>
        </form>
    </div>
    <div id="page-list" style="text-align: center">{$show_page}</div>
</div>
<include file="Admin/Public/Copyright" />
</body>
</html>

